package com.isnmp.nms.framework.discover;

import java.util.List;
import java.util.Vector;

public class DiscoverConfig {
    public static boolean isDebug = false;
    public static boolean isIPRoamingAll = true;
    private static List<DeviceTypeInfo> nodeTypeList = new Vector();
    private static List<ResourceSearchMothType> resourceTypeList = new Vector();

    public static synchronized void addDeviceType(DeviceTypeInfo paramDeviceTypeInfo) {
        nodeTypeList.add(paramDeviceTypeInfo);
    }

    public static synchronized void clearAllDeviceType() {
        nodeTypeList.clear();
    }

    public static List<DeviceTypeInfo> getAllDeviceType() {
        return nodeTypeList;
    }

    public static synchronized void addResourceType(ResourceSearchMothType paramResourceSearchMothType) {
        resourceTypeList.add(paramResourceSearchMothType);
    }

    public static synchronized void clearAllResourceSearchMoth() {
        resourceTypeList.clear();
    }

    public static List<ResourceSearchMothType> getAllResourceType() {
        return resourceTypeList;
    }
}